/**
 * Copyright &copy; 2015-2020 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.jeeplus.modules.web.service;

import com.jeeplus.core.persistence.Page;
import com.jeeplus.core.service.CrudService;
import com.jeeplus.modules.web.entity.YjAgentsDistribution;
import com.jeeplus.modules.web.mapper.YjAgentsDistributionMapper;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * 年分销商比例Service
 * @author rongjie
 * @version 2017-10-08
 */
@Service
@Transactional(readOnly = true)
public class YjAgentsDistributionService extends CrudService<YjAgentsDistributionMapper, YjAgentsDistribution> {

	public YjAgentsDistribution get(String id) {
		return super.get(id);
	}
	
	public List<YjAgentsDistribution> findList(YjAgentsDistribution yjAgentsDistribution) {
		return super.findList(yjAgentsDistribution);
	}
	
	public Page<YjAgentsDistribution> findPage(Page<YjAgentsDistribution> page, YjAgentsDistribution yjAgentsDistribution) {
		return super.findPage(page, yjAgentsDistribution);
	}
	
	@Transactional(readOnly = false)
	public void save(YjAgentsDistribution yjAgentsDistribution) {
		super.save(yjAgentsDistribution);
	}
	
	@Transactional(readOnly = false)
	public void delete(YjAgentsDistribution yjAgentsDistribution) {
		super.delete(yjAgentsDistribution);
	}
	
}